﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace MpSoft.Web.AdminCP.ToolsBar
{
    public partial class NumberIncrement : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        #region Properties

        public int NumberIncremnet
        {
            set { txtNumberIncement.Text = value.ToString(); }
            get
            {
                int value = 0;
                int.TryParse(txtNumberIncement.Text, out value);
                return value;
            }
        }

        #endregion
    }
}